package com.ciaojian.core.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 权益查询dto
 *
 * @author oxiny
 */
@Data
@Accessors(chain = true)
public class MemberDetailDTO {
    @ApiModelProperty("发型师ID")
    private Integer workerId;

    @ApiModelProperty("门店ID")
    private Integer storeId;

    @ApiModelProperty("订单类型")
    private List<Integer> orderTypes;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private Integer condition;
}
